package day3.HomeWork;


import day3.HomeWork.Ticked;

/**
 * ClassName：TestTicked
 *
 * @Author：小鱼
 * @Create：2025-08-20 10:00
 */
public class TestTicked {
    public static void main(String[] args) {
       Ticked ticked = new Ticked();
        //创建售票口
      Thread t1 = new Thread(ticked,"1号窗口");
      Thread t2 = new Thread(ticked,"2号窗口");
      Thread t3 = new Thread(ticked,"3号窗口");
      Thread t4 = new Thread(ticked,"4号窗口");
        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
